package com.yuanchu.marketing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanchu.common.utils.PageResult;
import com.yuanchu.marketing.entity.YoshopUserPointsLogEntity;

/**
 * 用户积分变动明细表
 *
 * @author adan
 * @email 2028038953@gmail.com
 * @date 2023-12-19 20:57:19
 */
public interface YoshopUserPointsLogService extends IService<YoshopUserPointsLogEntity> {


    /**
     * 查询用户积分变动明细
     *
     * @param userId
     * @param page
     * @return
     */
    PageResult<YoshopUserPointsLogEntity> queryUserPointsLog(Integer userId, Integer page);



    /**
     * 查询用户积分变动明细
     *
     * @param page
     * @param search
     * @param betweenTimeStart
     * @param betweenTimeEnd
     * @return
     */
    PageResult<YoshopUserPointsLogEntity> queryUserPointsLog(Integer page, String search, String betweenTimeStart, String betweenTimeEnd);
}

